CPatientDemographics.cs
Code Type: C# Class
Uses Classes: CDataParameterList, CDataSet
Uses PL/SQL Procedures: PCK_PATIENT.GetPatientDemographicsRS, PCK_PATIENT.GetPatientSocioeconomicsRS, PCK_PAT_ETHNICITY_RACE.GetPatientRaceRS, PCK_PAT_ETHNICITY_RACE.GetPatientEthnicityRS, PCK_PATIENT.UpdatePatientDemographics, PCK_PATIENT.UpdatePatientSocioeconomics, PCK_PAT_ETHNICITY_RACE.UpdatePatientRace, PCK_PAT_ETHNICITY_RACE.UpdatePatientEthnicity

Lines of Code: 231

public class CPatientDemographics

	CPatientDemographics Handles the data transactions and patient demographics page controls 

public CPatientDemographics(BaseMaster BaseMstr)

	Class constructor 

public DataSet GetPatientDemographicsDS(string strPatientID)

	,5960 Returns demographics dataset to populate patient demographics page controls 

public DataSet GetPatientSocioeconomicsDS(string strPatientID)

	 Returns socioeconomic dataset to populate the socioeconomic tab in patient demographics page 

public DataSet GetPatientRaceDS(string strPatientID)

	Returns patient's race dataset 

public DataSet GetPatientEthnicityDS(string strPatientID)

	Returns patient's ethnicity dataset 

public bool UpdatePatientDemographics(string strFName,
                                    string strMi,
                                    string strLName,
                                    string strSponsorSSN,
                                    string strSSN,
                                    string strGender,
                                    string strDOB,
                                    string strProviderID,
                                    string strAddress1,
                                    string strAddress2,
                                    string strCity,
                                    string strPostalCode,
                                    string strHomePhone,
                                    string strCellPhone,
                                    string strWorkPhone,
                                    string strEmail,
                                    string strStateID,
                                    long lDutyStatusID,
                                    long lPrefLangID,
                                    string strPrefLangOther,
                                    long lHandPrefID,
                                    long lCallPreference,
                                    long lHomePhoneMsg,
                                    long lEmailMsg)

	   Updates patient demographics record with the patient demographics page data 

public bool UpdatePatientSocioeconomics(long lHighestGradeID,
                                            long lHighestDegreeID,
                                            long lMaritalStatusID,
                                            long lEmploymentStatusID,
                                            long lJobClassificationID,
                                            string strEmploymentStatusOther)

	 Updates patient socioeconomics record with the patient demographics page data 

public bool UpdatePatientRace(string strValues)

	Updates patient race record with values from patient demographics page 

public bool UpdatePatientEthnicity(long lEthnicityID)

	Updates patient ethnicity record with values from patient demographics page 

	

